package com.woniu.service;

import com.woniu.entity.PageResult;
import com.woniu.entity.Result;
import com.woniu.entity.dto.CarSearchDTO;
import com.woniu.entity.vo.CarListVO;
import com.woniu.pojo.Car;

public interface ICarService {
    PageResult<CarListVO> listSearch(CarSearchDTO carSearchDTO);

    Result save(Car car);

    Integer deleteByIds(Long[] ids);

    Result updateById(Car car);

    Car getById(Long id);

    Car checkTitleExist(String title);

    Integer updateShowStatus(Long id, String val);
}
